using System;
using System.Collections.Generic;
using System.Text;
using Dune.Business.Domain.Forum;
using Dune.Business.Domain.Users;
using Edge.Business.Domain;

namespace Dune.Business.Domain.Content
{
    public class NewsFilter : BaseFilter, ITextSearchSupported
    {
        private string keyword;
        private Person createdBy;
        private DateTime registerDateFrom;
        private DateTime registerDateTo = DateTime.Now;

        public string GetText()
        {
            return keyword;
        }

        public void SetText(string text)
        {
            keyword = text;
        }


        public string Keyword
        {
            get { return keyword; }
            set { keyword = value; }
        }


        public Person CreatedBy
        {
            get { return createdBy; }
            set { createdBy = value; }
        }


        public DateTime RegisterDateFrom
        {
            get { return registerDateFrom; }
            set { registerDateFrom = value; }
        }

        public DateTime RegisterDateTo
        {
            get { return registerDateTo; }
            set { registerDateTo = value; }
        }
    }
}